ActiveReports 8
When<TExpected>(Predicate<TExpected>,Func<TExpected,TResult>) Method

Matches the item by value.
Syntax
'Declaration
 
Public Overloads Function When(Of TExpected As T)( _
   ByVal guardCondition As System.Predicate(Of TExpected), _
   ByVal func As System.Func(Of TExpected,TResult) _
) As FunctionalExtensions.MatchBlock(Of T,TResult)
public FunctionalExtensions.MatchBlock<T,TResult> When<TExpected>( 
   System.Predicate<TExpected> guardCondition,
   System.Func<TExpected,TResult> func
)
where TExpected: T

Parameters

guardCondition
func

Type Parameters

TExpected
See Also

Reference

FunctionalExtensions.MatchBlock<T,TResult> Class
FunctionalExtensions.MatchBlock<T,TResult> Members
Overload List

Support Forum